package com.itany.cloud.exception;

/**
 * @author 石小俊
 */
public class OpenFeignException extends RuntimeException {

    /**
     * HTTP请求错误码
     */
    private int errorCode;

    /**
     * 错误消息
     */
    private String errorMsg;

    public OpenFeignException(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
